package com.ceadeal.javafxboot.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author 张寒轩
 * @Date 2021/3/22 11:11
 * @Description 虹软功能配置类
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "arcsoft.function")
public class ArcSoftFunctionConfig {

    /**
     * setSupportAge	boolean	是否支持年龄检测功能
     * setSupportFace3dAngle	boolean	是否支持3D检测功能
     * setSupportFaceDetect	boolean	是否支持人脸检测功能
     * setSupportFaceRecognition	boolean	是否支持人脸识别功能
     * setSupportGender	boolean	是否支持性别检测功能
     * setSupportLiveness	boolean	是否支持RGB活体检测功能
     * setSupportIRLiveness	boolean	是否支持IR活体检测功能
     */
    private boolean supportAge = false;
    private boolean supportFace3dAngle = true;
    private boolean supportFaceDetect = true;
    private boolean supportFaceRecognition = true;
    private boolean supportGender = false;
    private boolean supportLiveness = true;
    private boolean supportIRLiveness = true;

}